Generating Timelapse Satellite Imagery of Kinshasa, DRC

Generating Timelapse Satellite Imagery of Kinshasa, DRC#

import ee
import geemap
geemap.ee_initialize()
Map = geemap.Map()
roi = ee.Geometry.BBox(15.14662579020479, -4.489460109907313,  15.681051457462889, -3.956485370168921)
Map.addLayer(roi)
Map.centerObject(roi)
Map

Landsat#

timelapse = geemap.landsat_timelapse(
    roi,
    out_gif='data/gif/landsat.gif',
    start_year=2000,
    end_year=2025,
    start_date='01-01',
    end_date='12-31',
    bands=['SWIR1', 'NIR', 'Red'],
    frames_per_second=5,
    title='Landsat Timelapse',
    progress_bar_color='white',
    mp4=True,
)
geemap.show_image(timelapse)
Generating URL...
Downloading GIF image from https://earthengine.googleapis.com/v1/projects/11280955351/videoThumbnails/390ce65ac782d801cfbbf8c1d5e07bdb-99b28bdd95ce8f7402d273b77cd179ca:getPixels
Please wait ...
The GIF image has been saved to: /home/nish/github/konishon/pani-path/notebooks/data/gif/landsat.gif
ffmpeg is not installed on your computer.
ffmpeg is not installed on your computer.

Sentinel-2#

timelapse = geemap.sentinel2_timelapse(
    roi,
    out_gif='data/gif/sentinel2.gif',
    start_year=2021,
    end_year=2025,
    start_date='01-01',
    end_date='12-31',
    frequency='year',
    bands=['SWIR1', 'NIR', 'Red'],
    frames_per_second=3,
    title='Sentinel-2 Timelapse',
)
geemap.show_image(timelapse)
Generating URL...
Downloading GIF image from https://earthengine.googleapis.com/v1/projects/11280955351/videoThumbnails/b67d6f6bdedc1fbe9c68b0a01becaba7-1df38f1e5e4924c5c8af237da70bec5a:getPixels
Please wait ...
The GIF image has been saved to: /home/nish/github/konishon/pani-path/notebooks/data/gif/sentinel2.gif
ffmpeg is not installed on your computer.

MODIS#

timelapse = geemap.modis_ndvi_timelapse(
    roi,
    out_gif='data/gif/ndvi.gif',
    data='Terra',
    band='NDVI',
    start_date='2021-01-01',
    end_date='2025-12-31',
    frames_per_second=3,
    title='MODIS NDVI Timelapse',
    overlay_data='countries',
)
geemap.show_image(timelapse)
Generating URL...
Expression evaluates to an empty image collection.
The length of the text sequence must be equal to the number (23) of frames in the gif.
ffmpeg is not installed on your computer.